<?php
/**
 * User: itimphp
 * Date: 6/6/12
 * Time: 3:54 PM
 */

$base_url = 'http://' . $_SERVER['SERVER_NAME'] . dirname($_SERVER['REQUEST_URI']) . '/';
require_once 'includes/recaptchalib.php';
require_once 'includes/db.php';
require_once 'includes/utils.php';

header('Content-Type: text/html; charset=utf-8');

//set_include_path('includes/');

spl_autoload_register(function ($class) {
	if (file_exists('includes/' . strtolower($class) . '.php')) {
		include_once 'includes/' . strtolower($class) . '.php';
	} elseif (file_exists(strtolower($class) . '.php')) {
		include_once strtolower($class) . '.php';
	}
});